<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2017/12/12
 * Time: 10:21
 */

//权限配置
return [
    //超级管理员账号
    'super' => 'admin',
    //无需验证权限的控制器
    'no_auth_controller' => 'Index',
    //无需验证权限的方法
    'no_auth_action' => 'ajax_unique_username,ajax_upload_img',
    //配置权限列表
    'node'=>[
        'add'=>['name'=>'填报','controller'=>'1','action'=>'2'],
        'edit'=>['name'=>'编辑','controller'=>'1','action'=>'2'],
        'del'=>['name'=>'删除','controller'=>'1','action'=>'2'],
        'list'=>['name'=>'查看','controller'=>'1','action'=>'2'],
        'upgrade'=>['name'=>'提干','controller'=>'1','action'=>'2'],
        'verify_1'=>['name'=>'一审审核','controller'=>'1','action'=>'2'],
        'verify_2'=>['name'=>'二审审核','controller'=>'1','action'=>'2'],
        'role'=>['name'=>'角色管理','controller'=>'1','action'=>'2'],
        'admin'=>['name'=>'账号管理','controller'=>'1','action'=>'2'],
        'area'=>['name'=>'行政区域管理','controller'=>'1','action'=>'2'],
    ]
];